package com.kevinxiaoge.ruoli.dao;

import com.kevinxiaoge.ruoli.bean.User;

/**
 * @author chengyuanyuan
 */
public interface UserMapper {

    /**
     * loadUserByUsername
     *
     * @param username
     * @return
     */
    User loadUserByUsername(String username);

    /**
     * addUser
     *
     * @param user
     * @return
     */
    int register(User user);

}
